package com.shioirikukuri.web.feign;

import com.shioirikukuri.common.web.Result;
import com.shioirikukuri.domain.PayVo;
import com.shioirikukuri.domain.RefundVo;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 支付服务调用失败的降级处理
 * @author shioiriKukuri
 * @date 2019/7/26
 */
@Component
public class PayFeignFallback implements PayFeignApi{
    @Override
    public Result<String> pay(PayVo vo) {
        return null;
    }

    @Override
    public Result<Boolean> rsaCheckV1(Map<String, String> params) {
        return null;
    }

    @Override
    public Result<Boolean> refund(RefundVo vo) {
        return null;
    }
}
